/*
*
*	The client thread class deals will all input / output to the client connection.
*	for the class to get past initialisation an authentication packet must be processed and pass, if not the thread will exit and free up its resources.
*
*/

#include "ClientThread.h"
#include "../Network/Packet.h"

CClientThread::CClientThread(SOCKET s) : CThreadObject()
{
	userSocket = s;
	userAuthenticated = false;
}

CClientThread::~CClientThread()
{

}

void CClientThread::InitThread()
{

}

void CClientThread::FlushThread()
{

}

bool AuthenticateLoginPacket(CPacket* p)
{
	
}

void CClientThread::Run()
{
	while(!_isDying)
	{
		
		Sleep(10);
	}
}

